#!/usr/bin/python
# -*- coding: UTF-8 -*-

import random
secret = random.randint(1, 10)
print('------------我爱python----------------')
temp = input("请输入要猜的数字...\n")
guess = int(temp)
while guess != secret:
    temp = input("哎呀，猜错了，请重新输入...\n")
    guess = int(temp)
    if guess == secret:
        print('o,yeah,对了')
        print('哥，你是小小心里的蛔虫吗')
    else:
        if guess > secret:
            print('哥，大了大了...')
        else:
            print('哥，小了小了...')
    #print('猜对了，答案是8')
print('游戏结束,不玩了')


